
#include <QtGui/QApplication>
#include <QLabel>

#include <OLApplication.h>
#include <OLPixmapWidget.h>

#include "MainView.h"

int main(int argc, char *argv[])
{
    OLApplication a(argc, argv);
    a.setWindowTitle("Application Template");
    a.setApplicationVersion("0.9");

    MainView* mainView = new MainView();
    mainView->resize(a.viewSize());
    QLabel* test = new QLabel("main base view", mainView);
    Q_UNUSED(test);
    mainView->connect(&a, SIGNAL(appStarted()), mainView, SLOT(startApp()));

    return a.exec();
}
